Tomcat Interview Questions and Answers
Question: How do I enable Server Side Includes (SSI)?Answer:Two things have to be done for tomcat to aknowledge SSI scripts:
<servlet> <servlet-name>ssi</servlet-name> <servlet-class>org.apache.catalina.ssi.SSIServlet</servlet-class> <init-param> <param-name>buffered</param-name> <param-value>1</param-value> </init-param> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>expires</param-name> <param-value>666</param-value> </init-param> <init-param> <param-name>isVirtualWebappRelative</param-name> <param-value>0</param-value> </init-param> <load-on-startup>4</load-on-startup> </servlet> |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is Tomcat?
- How do you create multiple virtual hosts?
- How do I override the default home page loaded by Tomcat?
- What is Jasper?
- Question : How to communicate between two webservers in two diff systems?